Liferay 6.0.5

com.liferay.portlet.journal.service
Interface JournalStructureService

All Known Implementing Classes:
JournalStructureServiceBaseImpl, JournalStructureServiceImpl, JournalStructureServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface JournalStructureService

The interface for the journal structure remote service.

Never modify or reference this interface directly. Always use JournalStructureServiceUtil to access the journal structure remote service. Add custom service methods to JournalStructureServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
JournalStructureServiceUtil, JournalStructureServiceBaseImpl, JournalStructureServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 JournalStructure addStructure(long groupId, String structureId, boolean autoStructureId, String parentStructureId, String name, String description, String xsd, ServiceContext serviceContext)
           
 JournalStructure copyStructure(long groupId, String oldStructureId, String newStructureId, boolean autoStructureId)
           
 void deleteStructure(long groupId, String structureId)
           
 JournalStructure getStructure(long groupId, String structureId)
           
 JournalStructure updateStructure(long groupId, String structureId, String parentStructureId, String name, String description, String xsd, ServiceContext serviceContext)
           
 

Method Detail

addStructure

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

JournalStructure copyStructure(long groupId,
                               String oldStructureId,
                               String newStructureId,
                               boolean autoStructureId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

deleteStructure

void deleteStructure(long groupId,
                     String structureId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getStructure

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalStructure getStructure(long groupId,
                                                                       String structureId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateStructure

JournalStructure updateStructure(long groupId,
                                 String structureId,
                                 String parentStructureId,
                                 String name,
                                 String description,
                                 String xsd,
                                 ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5