Package com.google.livingstories.client

Examples of com.google.livingstories.client.StoryPlayerContentItem


          } else {
            if (parentPlayer == null) {
              showInputError("Parent player must be chosen or created");
              return;
            }
            contentItem = new StoryPlayerContentItem(contentItemId, creationDate,
                currentContributorIds, content, importance, livingStoryId, parentPlayer);
          }
          break;
        case QUOTE:
          contentItem = new QuoteContentItem(contentItemId, creationDate, currentContributorIds,
View Full Code Here


          setName(playerContentItem.getName());
          setAliases(playerContentItem.getAliases());
          setPlayerType(playerContentItem.getPlayerType());
          setPhotoContentEntityId(playerContentItem.getPhotoContentItemId());
        } else {
          StoryPlayerContentItem storyPlayerContentItem =
              (StoryPlayerContentItem) clientContentItem;
          setParentPlayerContentEntityId(
              storyPlayerContentItem.getParentPlayerContentItem().getId());
        }
        break;
      case ASSET:
        AssetContentItem assetContentItem = (AssetContentItem) clientContentItem;
        setAssetType(assetContentItem.getAssetType());
View Full Code Here

            }
          }
          return new PlayerContentItem(getId(), getTimestamp(), getContributorIds(), getContent(),
              getImportance(), getName(), getAliases(), getPlayerType(), photoContentItem);
        } else {
          return new StoryPlayerContentItem(getId(), getTimestamp(), getContributorIds(),
              getContent(), getImportance(), livingStoryId,
              (PlayerContentItem) new ContentRpcImpl().getContentItem(
                  getParentPlayerContentEntityId(), false));
        }
      case QUOTE:
View Full Code Here

TOP

Related Classes of com.google.livingstories.client.StoryPlayerContentItem

Copyright © 2018 www.massapicom. 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.