com.liferay.portlet.journal.service
Class JournalStructureLocalServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalStructureLocalServiceUtil
public class JournalStructureLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.journal.service.JournalStructureLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalStructureLocalService
Method Summary |
static JournalStructure |
addJournalStructure(JournalStructure journalStructure)
|
static 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)
|
static 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)
|
static 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)
|
static 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)
|
static void |
addStructureResources(JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addStructureResources(JournalStructure structure,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addStructureResources(long groupId,
java.lang.String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addStructureResources(long groupId,
java.lang.String structureId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
checkNewLine(long groupId,
java.lang.String structureId)
|
static JournalStructure |
copyStructure(long userId,
long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
|
static JournalStructure |
createJournalStructure(long id)
|
static void |
deleteJournalStructure(JournalStructure journalStructure)
|
static void |
deleteJournalStructure(long id)
|
static void |
deleteStructure(JournalStructure structure)
|
static void |
deleteStructure(long groupId,
java.lang.String structureId)
|
static void |
deleteStructures(long groupId)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static JournalStructure |
getJournalStructure(long id)
|
static java.util.List<JournalStructure> |
getJournalStructures(int start,
int end)
|
static int |
getJournalStructuresCount()
|
static JournalStructureLocalService |
getService()
|
static JournalStructure |
getStructure(long id)
|
static JournalStructure |
getStructure(long groupId,
java.lang.String structureId)
|
static java.util.List<JournalStructure> |
getStructures()
|
static java.util.List<JournalStructure> |
getStructures(long groupId)
|
static java.util.List<JournalStructure> |
getStructures(long groupId,
int start,
int end)
|
static int |
getStructuresCount(long groupId)
|
static java.util.List<JournalStructure> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<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)
|
static int |
searchCount(long companyId,
long groupId,
java.lang.String keywords)
|
static int |
searchCount(long companyId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
void |
setService(JournalStructureLocalService service)
|
static JournalStructure |
updateJournalStructure(JournalStructure journalStructure)
|
static JournalStructure |
updateStructure(long groupId,
java.lang.String structureId,
java.lang.String parentStructureId,
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 |
JournalStructureLocalServiceUtil
public JournalStructureLocalServiceUtil()
addJournalStructure
public static JournalStructure addJournalStructure(JournalStructure journalStructure)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createJournalStructure
public static JournalStructure createJournalStructure(long id)
deleteJournalStructure
public static void deleteJournalStructure(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteJournalStructure
public static void deleteJournalStructure(JournalStructure journalStructure)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalStructure
public static JournalStructure getJournalStructure(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getJournalStructures
public static java.util.List<JournalStructure> getJournalStructures(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalStructuresCount
public static int getJournalStructuresCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateJournalStructure
public static JournalStructure updateJournalStructure(JournalStructure journalStructure)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addStructure
public static 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 static 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 static 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 static 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 static 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 static void addStructureResources(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 static 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 static void addStructureResources(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 static 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 static 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 static 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 static void deleteStructure(JournalStructure structure)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteStructures
public static void deleteStructures(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructure
public static JournalStructure getStructure(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructure
public static 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 static java.util.List<JournalStructure> getStructures()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructures
public static java.util.List<JournalStructure> getStructures(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructures
public static java.util.List<JournalStructure> getStructures(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructuresCount
public static int getStructuresCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public static java.util.List<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 static java.util.List<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 static int searchCount(long companyId,
long groupId,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public static 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 static 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
getService
public static JournalStructureLocalService getService()
setService
public void setService(JournalStructureLocalService service)