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
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.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalStructureService
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 JournalStructure |
copyStructure(long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
|
static void |
deleteStructure(long groupId,
java.lang.String structureId)
|
static JournalStructureService |
getService()
|
static JournalStructure |
getStructure(long groupId,
java.lang.String structureId)
|
void |
setService(JournalStructureService service)
|
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
copyStructure
public static JournalStructure copyStructure(long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
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
getService
public static JournalStructureService getService()
setService
public void setService(JournalStructureService service)