com.liferay.portlet.journal.service.impl
Class JournalStructureLocalServiceImpl
java.lang.Object
com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl
com.liferay.portlet.journal.service.impl.JournalStructureLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.journal.service.JournalStructureLocalService
public class JournalStructureLocalServiceImpl
- extends JournalStructureLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl |
counterLocalService, counterService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence |
Method Summary |
com.liferay.portlet.journal.model.JournalStructure |
addStructure(long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.journal.model.JournalStructure |
addStructure(long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
com.liferay.portlet.journal.model.JournalStructure |
addStructure(java.lang.String uuid,
long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.journal.model.JournalStructure |
addStructure(java.lang.String uuid,
long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addStructureResources(com.liferay.portlet.journal.model.JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(com.liferay.portlet.journal.model.JournalStructure structure,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addStructureResources(long groupId,
java.lang.String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(long groupId,
java.lang.String structureId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
checkNewLine(long groupId,
java.lang.String structureId)
|
com.liferay.portlet.journal.model.JournalStructure |
copyStructure(long userId,
long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
|
void |
deleteStructure(com.liferay.portlet.journal.model.JournalStructure structure)
|
void |
deleteStructure(long groupId,
java.lang.String structureId)
|
void |
deleteStructures(long groupId)
|
com.liferay.portlet.journal.model.JournalStructure |
getStructure(long id)
|
com.liferay.portlet.journal.model.JournalStructure |
getStructure(long groupId,
java.lang.String structureId)
|
java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
getStructures()
|
java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
getStructures(long groupId)
|
java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
getStructures(long groupId,
int start,
int end)
|
int |
getStructuresCount(long groupId)
|
java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
search(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
searchCount(long companyId,
long groupId,
java.lang.String keywords)
|
int |
searchCount(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
com.liferay.portlet.journal.model.JournalStructure |
updateStructure(long groupId,
java.lang.String structureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd)
|
protected void |
validate(java.util.List<com.liferay.portal.kernel.xml.Element> children,
java.util.Set<java.lang.String> elNames)
|
protected void |
validate(long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd)
|
protected void |
validate(java.lang.String name,
java.lang.String description,
java.lang.String xsd)
|
protected void |
validateParentStructureId(long groupId,
java.lang.String structureId,
java.lang.String parentStructureId)
|
protected void |
validateStructureId(java.lang.String structureId)
|
Methods inherited from class com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl |
addJournalStructure, createJournalStructure, deleteJournalStructure, deleteJournalStructure, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalStructure, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructures, getJournalStructuresCount, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, setCounterLocalService, setCounterService, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalStructureFinder, setJournalStructureLocalService, setJournalStructurePersistence, setJournalStructureService, setJournalTemplateFinder, setJournalTemplateLocalService, setJournalTemplatePersistence, setJournalTemplateService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, updateJournalStructure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalStructureLocalServiceImpl
public JournalStructureLocalServiceImpl()
addStructure
public com.liferay.portlet.journal.model.JournalStructure addStructure(long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructure
public com.liferay.portlet.journal.model.JournalStructure addStructure(java.lang.String uuid,
long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructure
public com.liferay.portlet.journal.model.JournalStructure addStructure(long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructure
public com.liferay.portlet.journal.model.JournalStructure addStructure(java.lang.String uuid,
long userId,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructureResources
public void addStructureResources(long groupId,
java.lang.String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructureResources
public void addStructureResources(com.liferay.portlet.journal.model.JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructureResources
public void addStructureResources(long groupId,
java.lang.String structureId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addStructureResources
public void addStructureResources(com.liferay.portlet.journal.model.JournalStructure structure,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkNewLine
public void checkNewLine(long groupId,
java.lang.String structureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
copyStructure
public com.liferay.portlet.journal.model.JournalStructure copyStructure(long userId,
long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteStructure
public void deleteStructure(long groupId,
java.lang.String structureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteStructure
public void deleteStructure(com.liferay.portlet.journal.model.JournalStructure structure)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteStructures
public void deleteStructures(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructure
public com.liferay.portlet.journal.model.JournalStructure getStructure(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructure
public com.liferay.portlet.journal.model.JournalStructure getStructure(long groupId,
java.lang.String structureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructures
public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructures
public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructures
public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructuresCount
public int getStructuresCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
long groupId,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateStructure
public com.liferay.portlet.journal.model.JournalStructure updateStructure(long groupId,
java.lang.String structureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsd)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(java.lang.String name,
java.lang.String description,
java.lang.String xsd)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException
validate
protected void validate(java.util.List<com.liferay.portal.kernel.xml.Element> children,
java.util.Set<java.lang.String> elNames)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException
validateParentStructureId
protected void validateParentStructureId(long groupId,
java.lang.String structureId,
java.lang.String parentStructureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validateStructureId
protected void validateStructureId(java.lang.String structureId)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException