com.liferay.portlet.journal.service
Class JournalStructureLocalServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalStructureLocalServiceUtil
public class JournalStructureLocalServiceUtil
- extends Object
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.
- See Also:
JournalStructureLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static JournalStructure |
addJournalStructure(JournalStructure journalStructure)
|
static JournalStructure |
addStructure(long userId,
long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
|
static void |
addStructureResources(JournalStructure structure,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addStructureResources(JournalStructure structure,
String[] communityPermissions,
String[] guestPermissions)
|
static void |
addStructureResources(long groupId,
String structureId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addStructureResources(long groupId,
String structureId,
String[] communityPermissions,
String[] guestPermissions)
|
static void |
checkNewLine(long groupId,
String structureId)
|
static JournalStructure |
copyStructure(long userId,
long groupId,
String oldStructureId,
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,
String structureId)
|
static void |
deleteStructures(long groupId)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static JournalStructure |
getJournalStructure(long id)
|
static JournalStructure |
getJournalStructureByUuidAndGroupId(String uuid,
long groupId)
|
static List<JournalStructure> |
getJournalStructures(int start,
int end)
|
static int |
getJournalStructuresCount()
|
static JournalStructureLocalService |
getService()
|
static JournalStructure |
getStructure(long id)
|
static JournalStructure |
getStructure(long groupId,
String structureId)
|
static List<JournalStructure> |
getStructures()
|
static List<JournalStructure> |
getStructures(long groupId)
|
static List<JournalStructure> |
getStructures(long groupId,
int start,
int end)
|
static int |
getStructuresCount(long groupId)
|
static List<JournalStructure> |
search(long companyId,
long groupId,
String keywords,
int start,
int end,
OrderByComparator obc)
|
static List<JournalStructure> |
search(long companyId,
long groupId,
String structureId,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
static int |
searchCount(long companyId,
long groupId,
String keywords)
|
static int |
searchCount(long companyId,
long groupId,
String structureId,
String name,
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,
String structureId,
String parentStructureId,
String name,
String description,
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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(String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalStructures
public static 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,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public static void addStructureResources(long groupId,
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,
String structureId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addStructureResources
public static void addStructureResources(JournalStructure structure,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkNewLine
public static void checkNewLine(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyStructure
public static JournalStructure copyStructure(long userId,
long groupId,
String oldStructureId,
String newStructureId,
boolean autoStructureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteStructure
public static void deleteStructure(long groupId,
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,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructures
public static List<JournalStructure> getStructures()
throws SystemException
- Throws:
SystemException
getStructures
public static List<JournalStructure> getStructures(long groupId)
throws SystemException
- Throws:
SystemException
getStructures
public static 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 List<JournalStructure> search(long companyId,
long groupId,
String keywords,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
public static 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 static int searchCount(long companyId,
long groupId,
String keywords)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
String structureId,
String name,
String description,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateStructure
public static JournalStructure updateStructure(long groupId,
String structureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static JournalStructureLocalService getService()
setService
public void setService(JournalStructureLocalService service)