com.liferay.portlet.journal.service
Class JournalStructureServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalStructureServiceUtil
- public class JournalStructureServiceUtil
- 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.JournalStructureService
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.
com.liferay.portlet.journal.service.JournalStructureServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalStructureService
,
JournalStructureServiceFactory
Method Summary |
static JournalStructure |
addStructure(java.lang.String structureId,
boolean autoStructureId,
long plid,
java.lang.String name,
java.lang.String description,
java.lang.String xsd,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static JournalStructure |
addStructure(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)
|
static void |
deleteStructure(long groupId,
java.lang.String structureId)
|
static JournalStructure |
getStructure(long groupId,
java.lang.String structureId)
|
static JournalStructure |
updateStructure(long groupId,
java.lang.String structureId,
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 |
JournalStructureServiceUtil
public JournalStructureServiceUtil()
addStructure
public static JournalStructure addStructure(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,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
addStructure
public static JournalStructure addStructure(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,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteStructure
public static void deleteStructure(long groupId,
java.lang.String structureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getStructure
public static JournalStructure getStructure(long groupId,
java.lang.String structureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
updateStructure
public static 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,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException