Examples of CharacterDescriptionDTO


Examples of net.cloudcodex.shared.dto.campaign.character.CharacterDescriptionDTO

  }

  public void onGetCharacterDescription(long campaignId, long characterId,
      SuccessCallback<CharacterDescriptionDTO> callback) {
    final CharacterKeyCDO characterKey = new CharacterKeyCDO(campaignId, characterId);
    final CharacterDescriptionDTO cd = cdCaches.get(characterKey);
    if (cd == null) {
      List<SuccessCallback<CharacterDescriptionDTO>> callbacks = cdCallbacks.get(characterKey);
      if (callbacks == null) {
        // First callback: init
        callbacks = new ArrayList<SuccessCallback<CharacterDescriptionDTO>>();
View Full Code Here

Examples of net.cloudcodex.shared.dto.campaign.character.CharacterDescriptionDTO

        ownerSelectedCharacterHeaderDTO.getId(), null,
        new SuccessCallback<Result<CharacterDescriptionDTO>>() {

          @Override
          public void onSuccess(Result<CharacterDescriptionDTO> result) {
            CharacterDescriptionDTO completeCharacterDescriptionDTO = result
                .getData();
            CharacterCDO characterCDO = new CharacterCDO(
                clickedCharacterHeaderDTO,
                completeCharacterDescriptionDTO);
            CharacterDescriptionPresenter characterDescriptionPresenter = eventBus
View Full Code Here

Examples of net.cloudcodex.shared.dto.campaign.character.CharacterDescriptionDTO

    if(sdo == null) {
      return null;
    }
   
    final CharacterDescriptionDTO dto = new CharacterDescriptionDTO();
    dto.setNotes(mapCharacterNote(sdo.getNotes()));
    dto.setCampaignId(sdo.getCampaignId());
    dto.setId(sdo.getCharacterId());
    dto.setTimestamp(sdo.getTimestamp());
    dto.setAliases(sdo.getAliases());
    dto.setSheet(sdo.getSheet());

    return dto;
  }
View Full Code Here

Examples of net.cloudcodex.shared.dto.campaign.character.CharacterDescriptionDTO

    final Context context = createContext();

    final CharacterDescriptionSDO sdo = campaignService.getCharacterDescription(
        context, campaignId, characterId, byCharacterId, timestamp);
   
    final CharacterDescriptionDTO dto = DTOUtil.mapCharacterDescription(sdo);
   
    return createResult(context, dto);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.