| java.lang.Object com.liferay.portlet.journal.service.base.JournalArticleLocalServiceBaseImpl com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl
Method Summary | |
public JournalArticle | addArticle(long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) | public JournalArticle | addArticle(String uuid, long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) | public JournalArticle | addArticle(long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, String[] communityPermissions, String[] guestPermissions) | public JournalArticle | addArticle(String uuid, long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) | public void | addArticleResources(long groupId, String articleId, boolean addCommunityPermissions, boolean addGuestPermissions) | public void | addArticleResources(JournalArticle article, boolean addCommunityPermissions, boolean addGuestPermissions) | public void | addArticleResources(long groupId, String articleId, String[] communityPermissions, String[] guestPermissions) | public void | addArticleResources(JournalArticle article, String[] communityPermissions, String[] guestPermissions) | public JournalArticle | addArticleToGroup(String uuid, long userId, String articleId, boolean autoArticleId, long groupId, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) | public JournalArticle | approveArticle(long userId, long groupId, String articleId, double version, String articleURL, PortletPreferences prefs) | public JournalArticle | checkArticleResourcePrimKey(long groupId, String articleId, double version) | public void | checkArticles() | public void | checkNewLine(long groupId, String articleId, double version) | public void | checkStructure(long groupId, String articleId, double version) | protected void | checkStructure(JournalArticle article) | protected void | checkStructure(Document contentDoc, Element root) | protected void | checkStructureField(Element el, Document contentDoc) | public void | deleteArticle(long groupId, String articleId, double version, String articleURL, PortletPreferences prefs) | public void | deleteArticle(JournalArticle article, String articleURL, PortletPreferences prefs) | public void | deleteArticles(long groupId) | public void | expireArticle(long groupId, String articleId, double version, String articleURL, PortletPreferences prefs) | public void | expireArticle(JournalArticle article, String articleURL, PortletPreferences prefs) | protected String | format(long groupId, String articleId, double version, boolean incrementVersion, String content, String structureId, Map images) | protected void | format(long groupId, String articleId, double version, boolean incrementVersion, Element root, Map images) | protected void | formatImage(long groupId, String articleId, double version, boolean incrementVersion, Element el, String elName, Map images) | public JournalArticle | getArticle(long id) | public JournalArticle | getArticle(long groupId, String articleId) | public JournalArticle | getArticle(long groupId, String articleId, double version) | public String | getArticleContent(long groupId, String articleId, String languageId, ThemeDisplay themeDisplay) | public String | getArticleContent(long groupId, String articleId, String templateId, String languageId, ThemeDisplay themeDisplay) | public String | getArticleContent(long groupId, String articleId, double version, String languageId, ThemeDisplay themeDisplay) | public String | getArticleContent(long groupId, String articleId, double version, String templateId, String languageId, ThemeDisplay themeDisplay) | public JournalArticleDisplay | getArticleDisplay(long groupId, String articleId, String languageId, ThemeDisplay themeDisplay) | public JournalArticleDisplay | getArticleDisplay(long groupId, String articleId, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) | public JournalArticleDisplay | getArticleDisplay(long groupId, String articleId, String templateId, String languageId, ThemeDisplay themeDisplay) | public JournalArticleDisplay | getArticleDisplay(long groupId, String articleId, String templateId, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) | public JournalArticleDisplay | getArticleDisplay(long groupId, String articleId, double version, String templateId, String languageId, ThemeDisplay themeDisplay) | public JournalArticleDisplay | getArticleDisplay(long groupId, String articleId, double version, String templateId, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) | public List | getArticles() | public List | getArticles(long groupId) | public List | getArticles(long groupId, int begin, int end) | public List | getArticles(long groupId, int begin, int end, OrderByComparator obc) | public List | getArticlesBySmallImageId(long smallImageId) | public int | getArticlesCount(long groupId) | public JournalArticle | getDisplayArticle(long groupId, String articleId) | public JournalArticle | getLatestArticle(long groupId, String articleId) | public JournalArticle | getLatestArticle(long groupId, String articleId, Boolean approved) | public double | getLatestVersion(long groupId, String articleId) | public double | getLatestVersion(long groupId, String articleId, Boolean approved) | public List | getStructureArticles(long groupId, String structureId) | public List | getStructureArticles(long groupId, String structureId, int begin, int end, OrderByComparator obc) | public int | getStructureArticlesCount(long groupId, String structureId) | public List | getTemplateArticles(long groupId, String templateId) | public List | getTemplateArticles(long groupId, String templateId, int begin, int end, OrderByComparator obc) | public int | getTemplateArticlesCount(long groupId, String templateId) | public boolean | hasArticle(long groupId, String articleId) | public boolean | isLatestVersion(long groupId, String articleId, double version) | public boolean | isLatestVersion(long groupId, String articleId, double version, Boolean active) | public void | reIndex(String[] ids) | public JournalArticle | removeArticleLocale(long groupId, String articleId, double version, String languageId) | protected void | saveImages(boolean smallImage, long smallImageId, File smallFile, byte[] smallBytes) | public Hits | search(long companyId, long groupId, String keywords) | public Hits | search(long companyId, long groupId, String keywords, String sortField) | public List | search(long companyId, long groupId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, int begin, int end, OrderByComparator obc) | public List | search(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator, int begin, int end, OrderByComparator obc) | public List | search(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator, int begin, int end, OrderByComparator obc) | public int | searchCount(long companyId, long groupId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate) | public int | searchCount(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator) | public int | searchCount(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator) | protected void | sendEmail(JournalArticle article, String articleURL, PortletPreferences prefs, String emailType) | public JournalArticle | updateArticle(long userId, long groupId, String articleId, double version, boolean incrementVersion, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries) | public JournalArticle | updateContent(long groupId, String articleId, double version, String content) | public void | updateTagsAsset(long userId, JournalArticle article, String[] tagsEntries) | protected void | validate(long groupId, String articleId, boolean autoArticleId, String title, String content, String type, String structureId, String templateId, boolean smallImage, String smallImageURL, File smallFile, byte[] smallBytes) | protected void | validate(long groupId, String title, String content, String type, String structureId, String templateId, boolean smallImage, String smallImageURL, File smallFile, byte[] smallBytes) |
addArticle | public JournalArticle addArticle(long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException(Code) | | |
addArticle | public JournalArticle addArticle(String uuid, long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException(Code) | | |
addArticle | public JournalArticle addArticle(long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addArticle | public JournalArticle addArticle(String uuid, long userId, String articleId, boolean autoArticleId, long plid, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
addArticleToGroup | public JournalArticle addArticleToGroup(String uuid, long userId, String articleId, boolean autoArticleId, long groupId, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException(Code) | | |
checkStructure | protected void checkStructure(Document contentDoc, Element root) throws PortalException(Code) | | |
checkStructureField | protected void checkStructureField(Element el, Document contentDoc) throws PortalException(Code) | | |
format | protected void format(long groupId, String articleId, double version, boolean incrementVersion, Element root, Map images) throws SystemException(Code) | | |
saveImages | protected void saveImages(boolean smallImage, long smallImageId, File smallFile, byte[] smallBytes) throws SystemException(Code) | | |
search | public List search(long companyId, long groupId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, int begin, int end, OrderByComparator obc) throws SystemException(Code) | | |
search | public List search(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator, int begin, int end, OrderByComparator obc) throws SystemException(Code) | | |
search | public List search(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator, int begin, int end, OrderByComparator obc) throws SystemException(Code) | | |
searchCount | public int searchCount(long companyId, long groupId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate) throws SystemException(Code) | | |
searchCount | public int searchCount(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator) throws SystemException(Code) | | |
searchCount | public int searchCount(long companyId, long groupId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator) throws SystemException(Code) | | |
updateArticle | public JournalArticle updateArticle(long userId, long groupId, String articleId, double version, boolean incrementVersion, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map images, String articleURL, PortletPreferences prefs, String[] tagsEntries) throws PortalException, SystemException(Code) | | |
validate | protected void validate(long groupId, String articleId, boolean autoArticleId, String title, String content, String type, String structureId, String templateId, boolean smallImage, String smallImageURL, File smallFile, byte[] smallBytes) throws PortalException, SystemException(Code) | | |
validate | protected void validate(long groupId, String title, String content, String type, String structureId, String templateId, boolean smallImage, String smallImageURL, File smallFile, byte[] smallBytes) throws PortalException, SystemException(Code) | | |
|
|