com.liferay.portlet.journal.service
Interface JournalStructureService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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(long groupId, java.lang.String structureId, boolean autoStructureId, java.lang.String parentStructureId, java.lang.String name, java.lang.String description, java.lang.String xsd, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 JournalStructure addStructure(long groupId, java.lang.String structureId, boolean autoStructureId, java.lang.String parentStructureId, 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 parentStructureId, java.lang.String name, java.lang.String description, java.lang.String xsd)
           
 

Method Detail

addStructure

JournalStructure addStructure(long groupId,
                              java.lang.String structureId,
                              boolean autoStructureId,
                              java.lang.String parentStructureId,
                              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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructure

JournalStructure addStructure(long groupId,
                              java.lang.String structureId,
                              boolean autoStructureId,
                              java.lang.String parentStructureId,
                              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
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

copyStructure

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

deleteStructure

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

getStructure

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalStructure getStructure(long groupId,
                                            java.lang.String structureId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateStructure

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