com.liferay.portlet.journal.service
Interface JournalStructureService


public interface JournalStructureService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.journal.service.impl.JournalStructureServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
JournalStructureServiceUtil

Method Summary
 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)
           
 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)
           
 JournalStructure copyStructure(long groupId, java.lang.String oldStructureId, java.lang.String newStructureId, boolean autoStructureId)
           
 void deleteStructure(long groupId, java.lang.String structureId)
           
 JournalStructure getStructure(long groupId, java.lang.String structureId)
           
 JournalStructure updateStructure(long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, java.lang.String xsd)
           
 

Method Detail

addStructure

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 java.rmi.RemoteException,
                                     com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructure

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 java.rmi.RemoteException,
                                     com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

copyStructure

JournalStructure copyStructure(long groupId,
                               java.lang.String oldStructureId,
                               java.lang.String newStructureId,
                               boolean autoStructureId)
                               throws java.rmi.RemoteException,
                                      com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteStructure

void deleteStructure(long groupId,
                     java.lang.String structureId)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getStructure

JournalStructure getStructure(long groupId,
                              java.lang.String structureId)
                              throws java.rmi.RemoteException,
                                     com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateStructure

JournalStructure updateStructure(long groupId,
                                 java.lang.String structureId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 java.lang.String xsd)
                                 throws java.rmi.RemoteException,
                                        com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException