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
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
- Generated:
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,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static JournalStructure |
getJournalStructure(long id)
|
static JournalStructure |
getJournalStructureByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
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,
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,
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 |
updateJournalStructure(JournalStructure journalStructure,
boolean merge)
|
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,
ServiceContext serviceContext)
|
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 SystemException
- Throws:
SystemException
createJournalStructure
public static JournalStructure createJournalStructure(long id)
deleteJournalStructure
public static void deleteJournalStructure(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteJournalStructure
public static void deleteJournalStructure(JournalStructure journalStructure)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getJournalStructure
public static JournalStructure getJournalStructure(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalStructureByUuidAndGroupId
public static JournalStructure getJournalStructureByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalStructures
public static java.util.List<JournalStructure> getJournalStructures(int start,
int end)
throws SystemException
- Throws:
SystemException
getJournalStructuresCount
public static int getJournalStructuresCount()
throws SystemException
- Throws:
SystemException
updateJournalStructure
public static JournalStructure updateJournalStructure(JournalStructure journalStructure)
throws SystemException
- Throws:
SystemException
updateJournalStructure
public static JournalStructure updateJournalStructure(JournalStructure journalStructure,
boolean merge)
throws SystemException
- Throws:
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public static void addStructureResources(long groupId,
java.lang.String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public static void addStructureResources(JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public static void addStructureResources(long groupId,
java.lang.String structureId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public static void addStructureResources(JournalStructure structure,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkNewLine
public static void checkNewLine(long groupId,
java.lang.String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyStructure
public static JournalStructure copyStructure(long userId,
long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public static void deleteStructure(long groupId,
java.lang.String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public static void deleteStructure(JournalStructure structure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructures
public static void deleteStructures(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructure
public static JournalStructure getStructure(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructure
public static JournalStructure getStructure(long groupId,
java.lang.String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructures
public static java.util.List<JournalStructure> getStructures()
throws SystemException
- Throws:
SystemException
getStructures
public static java.util.List<JournalStructure> getStructures(long groupId)
throws SystemException
- Throws:
SystemException
getStructures
public static java.util.List<JournalStructure> getStructures(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getStructuresCount
public static int getStructuresCount(long groupId)
throws SystemException
- Throws:
SystemException
search
public static java.util.List<JournalStructure> search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
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,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
java.lang.String keywords)
throws SystemException
- Throws:
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 SystemException
- Throws:
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static JournalStructureLocalService getService()
setService
public void setService(JournalStructureLocalService service)