com.liferay.portlet.journal.service.impl
Class JournalStructureLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl
com.liferay.portlet.journal.service.impl.JournalStructureLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, JournalStructureLocalService
public class JournalStructureLocalServiceImpl
- extends JournalStructureLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.journal.service.base.JournalStructureLocalServiceBaseImpl |
counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence |
Method Summary |
JournalStructure |
addStructure(long userId,
long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
|
void |
addStructureResources(JournalStructure structure,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(JournalStructure structure,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addStructureResources(long groupId,
String structureId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addStructureResources(long groupId,
String structureId,
String[] groupPermissions,
String[] guestPermissions)
|
protected void |
appendParentStructureElements(long groupId,
String parentStructureId,
List<Element> elements)
|
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)
|
protected JournalStructure |
getParentStructure(long groupId,
String parentStructureId)
|
JournalStructure |
getStructure(long id)
|
JournalStructure |
getStructure(long groupId,
String structureId)
|
JournalStructure |
getStructure(long groupId,
String structureId,
boolean includeGlobalStructures)
|
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[] groupIds,
String keywords,
int start,
int end,
OrderByComparator obc)
|
List<JournalStructure> |
search(long companyId,
long[] groupIds,
String structureId,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
long[] groupIds,
String keywords)
|
int |
searchCount(long companyId,
long[] groupIds,
String structureId,
String name,
String description,
boolean andOperator)
|
JournalStructure |
updateStructure(long groupId,
String structureId,
String parentStructureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
|
protected void |
validate(List<Element> elements,
Set<String> elNames)
|
protected void |
validate(long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
Map<Locale,String> nameMap,
String xsd)
|
protected void |
validate(long groupId,
String parentStructureId,
Map<Locale,String> nameMap,
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, afterPropertiesSet, createJournalStructure, deleteJournalStructure, deleteJournalStructure, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchJournalStructure, getBeanIdentifier, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, 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, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, runSQL, setBeanIdentifier, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, 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,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(JournalStructure structure,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(JournalStructure structure,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(long groupId,
String structureId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public void addStructureResources(long groupId,
String structureId,
String[] groupPermissions,
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(JournalStructure structure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public void deleteStructure(long groupId,
String structureId)
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
getStructure
public JournalStructure getStructure(long groupId,
String structureId,
boolean includeGlobalStructures)
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[] groupIds,
String keywords,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
public List<JournalStructure> search(long companyId,
long[] groupIds,
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[] groupIds,
String keywords)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long[] groupIds,
String structureId,
String name,
String description,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateStructure
public JournalStructure updateStructure(long groupId,
String structureId,
String parentStructureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
appendParentStructureElements
protected void appendParentStructureElements(long groupId,
String parentStructureId,
List<Element> elements)
throws Exception
- Throws:
Exception
getParentStructure
protected JournalStructure getParentStructure(long groupId,
String parentStructureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(List<Element> elements,
Set<String> elNames)
throws PortalException
- Throws:
PortalException
validate
protected void validate(long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
Map<Locale,String> nameMap,
String xsd)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(long groupId,
String parentStructureId,
Map<Locale,String> nameMap,
String xsd)
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