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:
JournalStructureServiceFactory
,
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)
|
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)
|
addStructure
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addStructure
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteStructure
public void deleteStructure(long groupId,
java.lang.String structureId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getStructure
public JournalStructure getStructure(long groupId,
java.lang.String structureId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateStructure
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException