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
Method Summary |
com.liferay.portlet.journal.model.JournalStructure |
addStructure(long userId,
java.lang.String structureId,
boolean autoStructureId,
long plid,
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,
java.lang.String structureId,
boolean autoStructureId,
long plid,
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)
|
com.liferay.portlet.journal.model.JournalStructure |
addStructure(long userId,
java.lang.String structureId,
boolean autoStructureId,
long plid,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
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)
|
com.liferay.portlet.journal.model.JournalStructure |
addStructureToGroup(long userId,
java.lang.String structureId,
boolean autoStructureId,
long groupId,
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 |
checkNewLine(long groupId,
java.lang.String structureId)
|
void |
deleteStructure(com.liferay.portlet.journal.model.JournalStructure structure)
|
void |
deleteStructure(long groupId,
java.lang.String structureId)
|
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 |
getStructures()
|
java.util.List |
getStructures(long groupId)
|
java.util.List |
getStructures(long groupId,
int begin,
int end)
|
int |
getStructuresCount(long groupId)
|
java.util.List |
search(long companyId,
long groupId,
java.lang.String keywords,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
search(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int begin,
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 name,
java.lang.String description,
java.lang.String xsd)
|
protected void |
validate(java.util.List children,
java.util.Set elNames)
|
protected void |
validate(long groupId,
java.lang.String structureId,
boolean autoStructureId,
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)
|
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,
java.lang.String structureId,
boolean autoStructureId,
long plid,
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,
java.lang.String structureId,
boolean autoStructureId,
long plid,
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(long userId,
java.lang.String structureId,
boolean autoStructureId,
long plid,
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
addStructureToGroup
public com.liferay.portlet.journal.model.JournalStructure addStructureToGroup(long userId,
java.lang.String structureId,
boolean autoStructureId,
long groupId,
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
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
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 getStructures()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructures
public java.util.List getStructures(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructures
public java.util.List getStructures(long groupId,
int begin,
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 search(long companyId,
long groupId,
java.lang.String keywords,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List search(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int begin,
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 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 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 children,
java.util.Set elNames)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException