com.liferay.portlet.journal.service
Class JournalStructureServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalStructureServiceUtil
public class JournalStructureServiceUtil
- extends Object
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.
- See Also:
JournalStructureService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static JournalStructure |
addStructure(long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
|
static JournalStructure |
copyStructure(long groupId,
String oldStructureId,
String newStructureId,
boolean autoStructureId)
|
static void |
deleteStructure(long groupId,
String structureId)
|
static JournalStructureService |
getService()
|
static JournalStructure |
getStructure(long groupId,
String structureId)
|
void |
setService(JournalStructureService service)
|
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 |
JournalStructureServiceUtil
public JournalStructureServiceUtil()
addStructure
public static JournalStructure addStructure(long groupId,
String structureId,
boolean autoStructureId,
String parentStructureId,
String name,
String description,
String xsd,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyStructure
public static JournalStructure copyStructure(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
getStructure
public static JournalStructure getStructure(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
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 JournalStructureService getService()
setService
public void setService(JournalStructureService service)