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:
- JournalStructureLocalService
public class JournalStructureLocalServiceImpl
- extends JournalStructureLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl |
counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, 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 |
JournalStructure |
addStructure(long userId,
long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
|
void |
addStructureResources(JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(JournalStructure structure,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addStructureResources(long groupId,
String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(long groupId,
String structureId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
checkNewLine(long groupId,
String structureId)
|
JournalStructure |
copyStructure(long userId,
long groupId,
String oldStructureId,
String newStructureId,
boolean autoStructureId)
|
void |
deleteStructure(JournalStructure structure)
|
void |
deleteStructure(long groupId,
String structureId)
|
void |
deleteStructures(long groupId)
|
JournalStructure |
getStructure(long id)
|
JournalStructure |
getStructure(long groupId,
String structureId)
|
List<JournalStructure> |
getStructures()
|
List<JournalStructure> |
getStructures(long groupId)
|
List<JournalStructure> |
getStructures(long groupId,
int start,
int end)
|
int |
getStructuresCount(long groupId)
|
List<JournalStructure> |
search(long companyId,
long groupId,
String keywords,
int start,
int end,
OrderByComparator obc)
|
List<JournalStructure> |
search(long companyId,
long groupId,
String structureId,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
long groupId,
String keywords)
|
int |
searchCount(long companyId,
long groupId,
String structureId,
String name,
String description,
boolean andOperator)
|
JournalStructure |
updateStructure(long groupId,
String structureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
|
protected void |
validate(List<Element> children,
Set<String> elNames)
|
protected void |
validate(long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd)
|
protected void |
validate(String name,
String description,
String xsd)
|
protected void |
validateParentStructureId(long groupId,
String structureId,
String parentStructureId)
|
protected void |
validateStructureId(String structureId)
|
Methods inherited from class com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl |
addJournalStructure, createJournalStructure, deleteJournalStructure, deleteJournalStructure, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalStructure, getJournalStructureByUuidAndGroupId, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructures, getJournalStructuresCount, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, runSQL, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, 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, updateJournalStructure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalStructureLocalServiceImpl
public JournalStructureLocalServiceImpl()
addStructure
public JournalStructure addStructure(long userId,
long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(long groupId,
String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(long groupId,
String structureId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(JournalStructure structure,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkNewLine
public void checkNewLine(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyStructure
public JournalStructure copyStructure(long userId,
long groupId,
String oldStructureId,
String newStructureId,
boolean autoStructureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public void deleteStructure(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public void deleteStructure(JournalStructure structure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructures
public void deleteStructures(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructure
public JournalStructure getStructure(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructure
public JournalStructure getStructure(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructures
public List<JournalStructure> getStructures()
throws SystemException
- Throws:
SystemException
getStructures
public List<JournalStructure> getStructures(long groupId)
throws SystemException
- Throws:
SystemException
getStructures
public List<JournalStructure> getStructures(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getStructuresCount
public int getStructuresCount(long groupId)
throws SystemException
- Throws:
SystemException
search
public List<JournalStructure> search(long companyId,
long groupId,
String keywords,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
public List<JournalStructure> search(long companyId,
long groupId,
String structureId,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
String keywords)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
String structureId,
String name,
String description,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateStructure
public JournalStructure updateStructure(long groupId,
String structureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(String name,
String description,
String xsd)
throws PortalException
- Throws:
PortalException
validate
protected void validate(List<Element> children,
Set<String> elNames)
throws PortalException
- Throws:
PortalException
validateParentStructureId
protected void validateParentStructureId(long groupId,
String structureId,
String parentStructureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateStructureId
protected void validateStructureId(String structureId)
throws PortalException
- Throws:
PortalException