Liferay 6.2-ce-ga5

com.liferay.portal.tools.samplesqlbuilder
Class DataFactory

java.lang.Object
  extended by com.liferay.portal.tools.samplesqlbuilder.DataFactory

public class DataFactory
extends Object


Constructor Summary
DataFactory(Properties properties)
           
 
Method Summary
 AccountModel getAccountModel()
           
 RoleModel getAdministratorRoleModel()
           
 List<Long> getAssetCategoryIds(long groupId)
           
 List<AssetCategoryModel> getAssetCategoryModels()
           
protected  String[] getAssetPublisherAssetCategoriesQueryValues(List<AssetCategoryModel> assetCategoryModels, int index)
           
protected  String[] getAssetPublisherAssetTagsQueryValues(List<AssetTagModel> assetTagModels, int index)
           
 List<Long> getAssetTagIds(long groupId)
           
 List<AssetTagModel> getAssetTagModels()
           
 List<AssetTagStatsModel> getAssetTagStatsModels()
           
 List<AssetVocabularyModel> getAssetVocabularyModels()
           
 long getBlogsEntryClassNameId()
           
 List<ClassNameModel> getClassNameModels()
           
 CompanyModel getCompanyModel()
           
 SimpleCounter getCounter()
           
 long getCounterNext()
           
 String getDateLong(Date date)
           
 String getDateString(Date date)
           
 long getDDLRecordSetClassNameId()
           
 long getDefaultDLDDMStructureId()
           
 DDMStructureModel getDefaultDLDDMStructureModel()
           
 DLFileEntryTypeModel getDefaultDLFileEntryTypeModel()
           
 UserModel getDefaultUserModel()
           
 long getDLFileEntryClassNameId()
           
 GroupModel getGlobalGroupModel()
           
 long getGroupClassNameId()
           
 List<GroupModel> getGroupModels()
           
 GroupModel getGuestGroupModel()
           
 UserModel getGuestUserModel()
           
 long getJournalArticleClassNameId()
           
 String getJournalArticleLayoutColumn(String portletPrefix)
           
 long getLayoutClassNameId()
           
 int getMaxAssetPublisherPageCount()
           
 int getMaxBlogsEntryCommentCount()
           
 int getMaxDDLRecordCount()
           
 int getMaxDDLRecordSetCount()
           
 int getMaxDLFolderDepth()
           
 int getMaxGroupCount()
           
 int getMaxJournalArticleCount()
           
 int getMaxJournalArticlePageCount()
           
 int getMaxJournalArticleVersionCount()
           
 int getMaxWikiPageCommentCount()
           
 List<Long> getNewUserGroupIds(long groupId)
           
 RoleModel getPowerUserRoleModel()
           
protected  InputStream getResourceInputStream(String resourceName)
           
 List<RoleModel> getRoleModels()
           
 UserModel getSampleUserModel()
           
 List<Integer> getSequence(int size)
           
 RoleModel getUserRoleModel()
           
 VirtualHostModel getVirtualHostModel()
           
 long getWikiPageClassNameId()
           
 void initAssetCategoryModels()
           
 void initAssetTagModels()
           
 void initCompanyModel()
           
 void initContext(Properties properties)
           
 void initDLFileEntryTypeModel()
           
 void initGroupModels()
           
 void initJournalArticleContent(int maxJournalArticleSize)
           
 void initRoleModels()
           
 void initUserModels()
           
 void initUserNames()
           
 void initVirtualHostModel()
           
protected  AssetCategoryModel newAssetCategoryModel(long groupId, long lastRightCategoryId, String name, long vocabularyId)
           
 AssetEntryModel newAssetEntryModel(BlogsEntryModel blogsEntryModel)
           
 AssetEntryModel newAssetEntryModel(DLFileEntryModel dLFileEntryModel)
           
 AssetEntryModel newAssetEntryModel(DLFolderModel dLFolderModel)
           
 AssetEntryModel newAssetEntryModel(JournalArticleModel journalArticleModel)
           
protected  AssetEntryModel newAssetEntryModel(long groupId, Date createDate, Date modifiedDate, long classNameId, long classPK, String uuid, long classTypeId, boolean visible, String mimeType, String title)
           
 AssetEntryModel newAssetEntryModel(MBMessageModel mbMessageModel)
           
 AssetEntryModel newAssetEntryModel(MBThreadModel mbThreadModel)
           
 AssetEntryModel newAssetEntryModel(WikiPageModel wikiPageModel)
           
 List<PortletPreferencesModel> newAssetPublisherPortletPreferencesModels(long plid)
           
protected  AssetTagStatsModel newAssetTagStatsModel(long tagId, long classNameId)
           
protected  AssetVocabularyModel newAssetVocabularyModel(long grouId, long userId, String userName, String name)
           
protected  BlogsEntryModel newBlogsEntryModel(long groupId, int index)
           
 List<BlogsEntryModel> newBlogsEntryModels(long groupId)
           
 BlogsStatsUserModel newBlogsStatsUserModel(long groupId)
           
 ContactModel newContactModel(UserModel userModel)
           
 List<CounterModel> newCounterModels()
           
 DDMStructureModel newDDLDDMStructureModel(long groupId)
           
 DDLRecordModel newDDLRecordModel(DDLRecordSetModel dDLRecordSetModel)
           
 DDLRecordSetModel newDDLRecordSetModel(DDMStructureModel ddmStructureModel, int currentIndex)
           
 DDLRecordVersionModel newDDLRecordVersionModel(DDLRecordModel dDLRecordModel)
           
 DDMContentModel newDDMContentModel(DDLRecordModel ddlRecordModel, int currentIndex)
           
 DDMContentModel newDDMContentModel(DLFileEntryModel dlFileEntryModel)
           
protected  DDMContentModel newDDMContentModel(long contentId, long groupId, String xml)
           
 DDMStorageLinkModel newDDMStorageLinkModel(long ddmStorageLinkId, DDMContentModel ddmContentModel, long structureId)
           
 DDMStructureLinkModel newDDMStructureLinkModel(DDLRecordSetModel ddlRecordSetModel)
           
 DDMStructureLinkModel newDDMStructureLinkModel(DLFileEntryMetadataModel dLFileEntryMetadataModel)
           
protected  DDMStructureLinkModel newDDMStructureLinkModel(long classNameId, long classPK, long structureId)
           
protected  DDMStructureModel newDDMStructureModel(long groupId, long classNameId, String structureKey, String xsd)
           
 DLFileEntryMetadataModel newDLFileEntryMetadataModel(long ddmStorageLinkId, long ddmStructureId, DLFileVersionModel dlFileVersionModel)
           
protected  DLFileEntryModel newDlFileEntryModel(DLFolderModel dlFolerModel, int index)
           
 List<DLFileEntryModel> newDlFileEntryModels(DLFolderModel dlFolerModel)
           
 DLFileVersionModel newDLFileVersionModel(DLFileEntryModel dlFileEntryModel)
           
protected  DLFolderModel newDLFolderModel(long groupId, long parentFolderId, int index)
           
 List<DLFolderModel> newDLFolderModels(long groupId, long parentFolderId)
           
protected  GroupModel newGroupModel(long groupId, long classNameId, long classPK, String name, boolean site)
           
 GroupModel newGroupModel(UserModel userModel)
           
 IntegerWrapper newInteger()
           
 JournalArticleModel newJournalArticleModel(JournalArticleResourceModel journalArticleResourceModel, int articleIndex, int versionIndex)
           
 JournalArticleResourceModel newJournalArticleResourceModel(long groupId)
           
 JournalContentSearchModel newJournalContentSearchModel(JournalArticleModel journalArticleModel, long layoutId)
           
 LayoutFriendlyURLModel newLayoutFriendlyURLModel(LayoutModel layoutModel)
           
 LayoutModel newLayoutModel(long groupId, String name, String column1, String column2)
           
protected  LayoutSetModel newLayoutSetModel(long groupId, boolean privateLayout, int pageCount)
           
 List<LayoutSetModel> newLayoutSetModels(long groupId, int publicLayoutSetPageCount)
           
protected  MBCategoryModel newMBCategoryModel(long groupId, int index)
           
 List<MBCategoryModel> newMBCategoryModels(long groupId)
           
 MBDiscussionModel newMBDiscussionModel(long groupId, long classNameId, long classPK, long threadId)
           
 MBMailingListModel newMBMailingListModel(MBCategoryModel mbCategoryModel)
           
protected  MBMessageModel newMBMessageModel(long groupId, long classNameId, long classPK, long categoryId, long threadId, long messageId, long rootMessageId, long parentMessageId, String subject, String body)
           
 MBMessageModel newMBMessageModel(MBThreadModel mbThreadModel, long classNameId, long classPK, int index)
           
 List<MBMessageModel> newMBMessageModels(MBThreadModel mbThreadModel)
           
 List<MBMessageModel> newMBMessageModels(MBThreadModel mbThreadModel, long classNameId, long classPK, int maxMessageCount)
           
 MBStatsUserModel newMBStatsUserModel(long groupId)
           
 MBThreadFlagModel newMBThreadFlagModel(MBThreadModel mbThreadModel)
           
 MBThreadModel newMBThreadModel(long threadId, long groupId, long rootMessageId, int messageCount)
           
protected  MBThreadModel newMBThreadModel(long threadId, long groupId, long categoryId, long rootMessageId, int messageCount)
           
 List<MBThreadModel> newMBThreadModels(MBCategoryModel mbCategoryModel)
           
 PortletPreferencesModel newPortletPreferencesModel(long plid, long groupId, String portletId, int currentIndex)
           
 PortletPreferencesModel newPortletPreferencesModel(long plid, String portletId, DDLRecordSetModel ddlRecordSetModel)
           
 PortletPreferencesModel newPortletPreferencesModel(long plid, String portletId, JournalArticleResourceModel journalArticleResourceModel)
           
protected  PortletPreferencesModel newPortletPreferencesModel(long plid, String portletId, String preferences)
           
 List<PortletPreferencesModel> newPortletPreferencesModels(long plid)
           
 List<LayoutModel> newPublicLayoutModels(long groupId)
           
protected  ResourcePermissionModel newResourcePermissionModel(String name, String primKey, long roleId, long ownerId)
           
 List<ResourcePermissionModel> newResourcePermissionModels(AssetCategoryModel assetCategoryModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(AssetTagModel assetTagModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(AssetVocabularyModel assetVocabularyModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(BlogsEntryModel blogsEntryModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(DDLRecordSetModel ddlRecordSetModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(DDMStructureModel ddmStructureModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(DLFileEntryModel dlFileEntryModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(DLFolderModel dlFolderModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(JournalArticleResourceModel journalArticleResourceModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(LayoutModel layoutModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(MBCategoryModel mbCategoryModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(MBMessageModel mbMessageModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(PortletPreferencesModel portletPreferencesModel)
           
protected  List<ResourcePermissionModel> newResourcePermissionModels(String name, String primKey, long ownerId)
           
 List<ResourcePermissionModel> newResourcePermissionModels(WikiNodeModel wikiNodeModel)
           
 List<ResourcePermissionModel> newResourcePermissionModels(WikiPageModel wikiPageModel)
           
protected  RoleModel newRoleModel(String name, int type)
           
 SocialActivityModel newSocialActivityModel(BlogsEntryModel blogsEntryModel)
           
 SocialActivityModel newSocialActivityModel(DLFileEntryModel dlFileEntryModel)
           
 SocialActivityModel newSocialActivityModel(JournalArticleModel journalArticleModel)
           
protected  SocialActivityModel newSocialActivityModel(long groupId, long classNameId, long classPK, int type, String extraData)
           
 SocialActivityModel newSocialActivityModel(MBMessageModel mbMessageModel)
           
 SubscriptionModel newSubscriptionModel(BlogsEntryModel blogsEntryModel)
           
protected  SubscriptionModel newSubscriptionModel(long classNameId, long classPK)
           
 SubscriptionModel newSubscriptionModel(MBThreadModel mBThreadModel)
           
 SubscriptionModel newSubscriptionModel(WikiPageModel wikiPageModel)
           
protected  UserModel newUserModel(long userId, String firstName, String lastName, String screenName, boolean defaultUser)
           
 List<UserModel> newUserModels()
           
protected  WikiNodeModel newWikiNodeModel(long groupId, int index)
           
 List<WikiNodeModel> newWikiNodeModels(long groupId)
           
protected  WikiPageModel newWikiPageModel(WikiNodeModel wikiNodeModel, int index)
           
 List<WikiPageModel> newWikiPageModels(WikiNodeModel wikiNodeModel)
           
 WikiPageResourceModel newWikiPageResourceModel(WikiPageModel wikiPageModel)
           
protected  String nextDDLCustomFieldName(long groupId, int customFieldIndex)
           
protected  Date nextFutureDate()
           
 String[] nextUserName(long index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFactory

public DataFactory(Properties properties)
            throws Exception
Throws:
Exception
Method Detail

getAccountModel

public AccountModel getAccountModel()

getAdministratorRoleModel

public RoleModel getAdministratorRoleModel()

getAssetCategoryIds

public List<Long> getAssetCategoryIds(long groupId)

getAssetCategoryModels

public List<AssetCategoryModel> getAssetCategoryModels()

getAssetTagIds

public List<Long> getAssetTagIds(long groupId)

getAssetTagModels

public List<AssetTagModel> getAssetTagModels()

getAssetTagStatsModels

public List<AssetTagStatsModel> getAssetTagStatsModels()

getAssetVocabularyModels

public List<AssetVocabularyModel> getAssetVocabularyModels()

getBlogsEntryClassNameId

public long getBlogsEntryClassNameId()

getClassNameModels

public List<ClassNameModel> getClassNameModels()

getCompanyModel

public CompanyModel getCompanyModel()

getCounter

public SimpleCounter getCounter()

getCounterNext

public long getCounterNext()

getDateLong

public String getDateLong(Date date)

getDateString

public String getDateString(Date date)

getDDLRecordSetClassNameId

public long getDDLRecordSetClassNameId()

getDefaultDLDDMStructureId

public long getDefaultDLDDMStructureId()

getDefaultDLDDMStructureModel

public DDMStructureModel getDefaultDLDDMStructureModel()

getDefaultDLFileEntryTypeModel

public DLFileEntryTypeModel getDefaultDLFileEntryTypeModel()

getDefaultUserModel

public UserModel getDefaultUserModel()

getDLFileEntryClassNameId

public long getDLFileEntryClassNameId()

getGlobalGroupModel

public GroupModel getGlobalGroupModel()

getGroupClassNameId

public long getGroupClassNameId()

getGroupModels

public List<GroupModel> getGroupModels()

getGuestGroupModel

public GroupModel getGuestGroupModel()

getGuestUserModel

public UserModel getGuestUserModel()

getJournalArticleClassNameId

public long getJournalArticleClassNameId()

getJournalArticleLayoutColumn

public String getJournalArticleLayoutColumn(String portletPrefix)

getLayoutClassNameId

public long getLayoutClassNameId()

getMaxAssetPublisherPageCount

public int getMaxAssetPublisherPageCount()

getMaxBlogsEntryCommentCount

public int getMaxBlogsEntryCommentCount()

getMaxDDLRecordCount

public int getMaxDDLRecordCount()

getMaxDDLRecordSetCount

public int getMaxDDLRecordSetCount()

getMaxDLFolderDepth

public int getMaxDLFolderDepth()

getMaxGroupCount

public int getMaxGroupCount()

getMaxJournalArticleCount

public int getMaxJournalArticleCount()

getMaxJournalArticlePageCount

public int getMaxJournalArticlePageCount()

getMaxJournalArticleVersionCount

public int getMaxJournalArticleVersionCount()

getMaxWikiPageCommentCount

public int getMaxWikiPageCommentCount()

getNewUserGroupIds

public List<Long> getNewUserGroupIds(long groupId)

getPowerUserRoleModel

public RoleModel getPowerUserRoleModel()

getRoleModels

public List<RoleModel> getRoleModels()

getSampleUserModel

public UserModel getSampleUserModel()

getSequence

public List<Integer> getSequence(int size)

getUserRoleModel

public RoleModel getUserRoleModel()

getVirtualHostModel

public VirtualHostModel getVirtualHostModel()

getWikiPageClassNameId

public long getWikiPageClassNameId()

initAssetCategoryModels

public void initAssetCategoryModels()

initAssetTagModels

public void initAssetTagModels()

initCompanyModel

public void initCompanyModel()

initContext

public void initContext(Properties properties)

initDLFileEntryTypeModel

public void initDLFileEntryTypeModel()

initGroupModels

public void initGroupModels()
                     throws Exception
Throws:
Exception

initJournalArticleContent

public void initJournalArticleContent(int maxJournalArticleSize)

initRoleModels

public void initRoleModels()

initUserModels

public void initUserModels()

initUserNames

public void initUserNames()
                   throws IOException
Throws:
IOException

initVirtualHostModel

public void initVirtualHostModel()

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(BlogsEntryModel blogsEntryModel)

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(DLFileEntryModel dLFileEntryModel)

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(DLFolderModel dLFolderModel)

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(JournalArticleModel journalArticleModel)

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(MBMessageModel mbMessageModel)

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(MBThreadModel mbThreadModel)

newAssetEntryModel

public AssetEntryModel newAssetEntryModel(WikiPageModel wikiPageModel)

newAssetPublisherPortletPreferencesModels

public List<PortletPreferencesModel> newAssetPublisherPortletPreferencesModels(long plid)

newBlogsEntryModels

public List<BlogsEntryModel> newBlogsEntryModels(long groupId)

newBlogsStatsUserModel

public BlogsStatsUserModel newBlogsStatsUserModel(long groupId)

newContactModel

public ContactModel newContactModel(UserModel userModel)

newCounterModels

public List<CounterModel> newCounterModels()

newDDLDDMStructureModel

public DDMStructureModel newDDLDDMStructureModel(long groupId)

newDDLRecordModel

public DDLRecordModel newDDLRecordModel(DDLRecordSetModel dDLRecordSetModel)

newDDLRecordSetModel

public DDLRecordSetModel newDDLRecordSetModel(DDMStructureModel ddmStructureModel,
                                              int currentIndex)

newDDLRecordVersionModel

public DDLRecordVersionModel newDDLRecordVersionModel(DDLRecordModel dDLRecordModel)

newDDMContentModel

public DDMContentModel newDDMContentModel(DDLRecordModel ddlRecordModel,
                                          int currentIndex)

newDDMContentModel

public DDMContentModel newDDMContentModel(DLFileEntryModel dlFileEntryModel)

newDDMStorageLinkModel

public DDMStorageLinkModel newDDMStorageLinkModel(long ddmStorageLinkId,
                                                  DDMContentModel ddmContentModel,
                                                  long structureId)

newDDMStructureLinkModel

public DDMStructureLinkModel newDDMStructureLinkModel(DDLRecordSetModel ddlRecordSetModel)

newDDMStructureLinkModel

public DDMStructureLinkModel newDDMStructureLinkModel(DLFileEntryMetadataModel dLFileEntryMetadataModel)

newDLFileEntryMetadataModel

public DLFileEntryMetadataModel newDLFileEntryMetadataModel(long ddmStorageLinkId,
                                                            long ddmStructureId,
                                                            DLFileVersionModel dlFileVersionModel)

newDlFileEntryModels

public List<DLFileEntryModel> newDlFileEntryModels(DLFolderModel dlFolerModel)

newDLFileVersionModel

public DLFileVersionModel newDLFileVersionModel(DLFileEntryModel dlFileEntryModel)

newDLFolderModels

public List<DLFolderModel> newDLFolderModels(long groupId,
                                             long parentFolderId)

newGroupModel

public GroupModel newGroupModel(UserModel userModel)
                         throws Exception
Throws:
Exception

newInteger

public IntegerWrapper newInteger()

newJournalArticleModel

public JournalArticleModel newJournalArticleModel(JournalArticleResourceModel journalArticleResourceModel,
                                                  int articleIndex,
                                                  int versionIndex)

newJournalArticleResourceModel

public JournalArticleResourceModel newJournalArticleResourceModel(long groupId)

newJournalContentSearchModel

public JournalContentSearchModel newJournalContentSearchModel(JournalArticleModel journalArticleModel,
                                                              long layoutId)

newLayoutFriendlyURLModel

public LayoutFriendlyURLModel newLayoutFriendlyURLModel(LayoutModel layoutModel)

newLayoutModel

public LayoutModel newLayoutModel(long groupId,
                                  String name,
                                  String column1,
                                  String column2)

newLayoutSetModels

public List<LayoutSetModel> newLayoutSetModels(long groupId,
                                               int publicLayoutSetPageCount)

newMBCategoryModels

public List<MBCategoryModel> newMBCategoryModels(long groupId)

newMBDiscussionModel

public MBDiscussionModel newMBDiscussionModel(long groupId,
                                              long classNameId,
                                              long classPK,
                                              long threadId)

newMBMailingListModel

public MBMailingListModel newMBMailingListModel(MBCategoryModel mbCategoryModel)

newMBMessageModel

public MBMessageModel newMBMessageModel(MBThreadModel mbThreadModel,
                                        long classNameId,
                                        long classPK,
                                        int index)

newMBMessageModels

public List<MBMessageModel> newMBMessageModels(MBThreadModel mbThreadModel)

newMBMessageModels

public List<MBMessageModel> newMBMessageModels(MBThreadModel mbThreadModel,
                                               long classNameId,
                                               long classPK,
                                               int maxMessageCount)

newMBStatsUserModel

public MBStatsUserModel newMBStatsUserModel(long groupId)

newMBThreadFlagModel

public MBThreadFlagModel newMBThreadFlagModel(MBThreadModel mbThreadModel)

newMBThreadModel

public MBThreadModel newMBThreadModel(long threadId,
                                      long groupId,
                                      long rootMessageId,
                                      int messageCount)

newMBThreadModels

public List<MBThreadModel> newMBThreadModels(MBCategoryModel mbCategoryModel)

newPortletPreferencesModel

public PortletPreferencesModel newPortletPreferencesModel(long plid,
                                                          long groupId,
                                                          String portletId,
                                                          int currentIndex)
                                                   throws Exception
Throws:
Exception

newPortletPreferencesModel

public PortletPreferencesModel newPortletPreferencesModel(long plid,
                                                          String portletId,
                                                          DDLRecordSetModel ddlRecordSetModel)
                                                   throws Exception
Throws:
Exception

newPortletPreferencesModel

public PortletPreferencesModel newPortletPreferencesModel(long plid,
                                                          String portletId,
                                                          JournalArticleResourceModel journalArticleResourceModel)
                                                   throws Exception
Throws:
Exception

newPortletPreferencesModels

public List<PortletPreferencesModel> newPortletPreferencesModels(long plid)

newPublicLayoutModels

public List<LayoutModel> newPublicLayoutModels(long groupId)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(AssetCategoryModel assetCategoryModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(AssetTagModel assetTagModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(AssetVocabularyModel assetVocabularyModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(BlogsEntryModel blogsEntryModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(DDLRecordSetModel ddlRecordSetModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(DDMStructureModel ddmStructureModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(DLFileEntryModel dlFileEntryModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(DLFolderModel dlFolderModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(JournalArticleResourceModel journalArticleResourceModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(LayoutModel layoutModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(MBCategoryModel mbCategoryModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(MBMessageModel mbMessageModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(PortletPreferencesModel portletPreferencesModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(WikiNodeModel wikiNodeModel)

newResourcePermissionModels

public List<ResourcePermissionModel> newResourcePermissionModels(WikiPageModel wikiPageModel)

newSocialActivityModel

public SocialActivityModel newSocialActivityModel(BlogsEntryModel blogsEntryModel)

newSocialActivityModel

public SocialActivityModel newSocialActivityModel(DLFileEntryModel dlFileEntryModel)

newSocialActivityModel

public SocialActivityModel newSocialActivityModel(JournalArticleModel journalArticleModel)

newSocialActivityModel

public SocialActivityModel newSocialActivityModel(MBMessageModel mbMessageModel)

newSubscriptionModel

public SubscriptionModel newSubscriptionModel(BlogsEntryModel blogsEntryModel)

newSubscriptionModel

public SubscriptionModel newSubscriptionModel(MBThreadModel mBThreadModel)

newSubscriptionModel

public SubscriptionModel newSubscriptionModel(WikiPageModel wikiPageModel)

newUserModels

public List<UserModel> newUserModels()

newWikiNodeModels

public List<WikiNodeModel> newWikiNodeModels(long groupId)

newWikiPageModels

public List<WikiPageModel> newWikiPageModels(WikiNodeModel wikiNodeModel)

newWikiPageResourceModel

public WikiPageResourceModel newWikiPageResourceModel(WikiPageModel wikiPageModel)

nextUserName

public String[] nextUserName(long index)

getAssetPublisherAssetCategoriesQueryValues

protected String[] getAssetPublisherAssetCategoriesQueryValues(List<AssetCategoryModel> assetCategoryModels,
                                                               int index)

getAssetPublisherAssetTagsQueryValues

protected String[] getAssetPublisherAssetTagsQueryValues(List<AssetTagModel> assetTagModels,
                                                         int index)

getResourceInputStream

protected InputStream getResourceInputStream(String resourceName)

newAssetCategoryModel

protected AssetCategoryModel newAssetCategoryModel(long groupId,
                                                   long lastRightCategoryId,
                                                   String name,
                                                   long vocabularyId)

newAssetEntryModel

protected AssetEntryModel newAssetEntryModel(long groupId,
                                             Date createDate,
                                             Date modifiedDate,
                                             long classNameId,
                                             long classPK,
                                             String uuid,
                                             long classTypeId,
                                             boolean visible,
                                             String mimeType,
                                             String title)

newAssetTagStatsModel

protected AssetTagStatsModel newAssetTagStatsModel(long tagId,
                                                   long classNameId)

newAssetVocabularyModel

protected AssetVocabularyModel newAssetVocabularyModel(long grouId,
                                                       long userId,
                                                       String userName,
                                                       String name)

newBlogsEntryModel

protected BlogsEntryModel newBlogsEntryModel(long groupId,
                                             int index)

newDDMContentModel

protected DDMContentModel newDDMContentModel(long contentId,
                                             long groupId,
                                             String xml)

newDDMStructureLinkModel

protected DDMStructureLinkModel newDDMStructureLinkModel(long classNameId,
                                                         long classPK,
                                                         long structureId)

newDDMStructureModel

protected DDMStructureModel newDDMStructureModel(long groupId,
                                                 long classNameId,
                                                 String structureKey,
                                                 String xsd)

newDlFileEntryModel

protected DLFileEntryModel newDlFileEntryModel(DLFolderModel dlFolerModel,
                                               int index)

newDLFolderModel

protected DLFolderModel newDLFolderModel(long groupId,
                                         long parentFolderId,
                                         int index)

newGroupModel

protected GroupModel newGroupModel(long groupId,
                                   long classNameId,
                                   long classPK,
                                   String name,
                                   boolean site)
                            throws Exception
Throws:
Exception

newLayoutSetModel

protected LayoutSetModel newLayoutSetModel(long groupId,
                                           boolean privateLayout,
                                           int pageCount)

newMBCategoryModel

protected MBCategoryModel newMBCategoryModel(long groupId,
                                             int index)

newMBMessageModel

protected MBMessageModel newMBMessageModel(long groupId,
                                           long classNameId,
                                           long classPK,
                                           long categoryId,
                                           long threadId,
                                           long messageId,
                                           long rootMessageId,
                                           long parentMessageId,
                                           String subject,
                                           String body)

newMBThreadModel

protected MBThreadModel newMBThreadModel(long threadId,
                                         long groupId,
                                         long categoryId,
                                         long rootMessageId,
                                         int messageCount)

newPortletPreferencesModel

protected PortletPreferencesModel newPortletPreferencesModel(long plid,
                                                             String portletId,
                                                             String preferences)

newResourcePermissionModel

protected ResourcePermissionModel newResourcePermissionModel(String name,
                                                             String primKey,
                                                             long roleId,
                                                             long ownerId)

newResourcePermissionModels

protected List<ResourcePermissionModel> newResourcePermissionModels(String name,
                                                                    String primKey,
                                                                    long ownerId)

newRoleModel

protected RoleModel newRoleModel(String name,
                                 int type)

newSocialActivityModel

protected SocialActivityModel newSocialActivityModel(long groupId,
                                                     long classNameId,
                                                     long classPK,
                                                     int type,
                                                     String extraData)

newSubscriptionModel

protected SubscriptionModel newSubscriptionModel(long classNameId,
                                                 long classPK)

newUserModel

protected UserModel newUserModel(long userId,
                                 String firstName,
                                 String lastName,
                                 String screenName,
                                 boolean defaultUser)

newWikiNodeModel

protected WikiNodeModel newWikiNodeModel(long groupId,
                                         int index)

newWikiPageModel

protected WikiPageModel newWikiPageModel(WikiNodeModel wikiNodeModel,
                                         int index)

nextDDLCustomFieldName

protected String nextDDLCustomFieldName(long groupId,
                                        int customFieldIndex)

nextFutureDate

protected Date nextFutureDate()

Liferay 6.2-ce-ga5