1
22
23 package com.liferay.portlet.journal.service;
24
25
26
47 public class JournalStructureServiceUtil {
48 public static com.liferay.portlet.journal.model.JournalStructure addStructure(
49 java.lang.String structureId, boolean autoStructureId, long plid,
50 java.lang.String name, java.lang.String description,
51 java.lang.String xsd, boolean addCommunityPermissions,
52 boolean addGuestPermissions)
53 throws com.liferay.portal.PortalException,
54 com.liferay.portal.SystemException, java.rmi.RemoteException {
55 return _service.addStructure(structureId, autoStructureId, plid, name,
56 description, xsd, addCommunityPermissions, addGuestPermissions);
57 }
58
59 public static com.liferay.portlet.journal.model.JournalStructure addStructure(
60 java.lang.String structureId, boolean autoStructureId, long plid,
61 java.lang.String name, java.lang.String description,
62 java.lang.String xsd, java.lang.String[] communityPermissions,
63 java.lang.String[] guestPermissions)
64 throws com.liferay.portal.PortalException,
65 com.liferay.portal.SystemException, java.rmi.RemoteException {
66 return _service.addStructure(structureId, autoStructureId, plid, name,
67 description, xsd, communityPermissions, guestPermissions);
68 }
69
70 public static com.liferay.portlet.journal.model.JournalStructure copyStructure(
71 long groupId, java.lang.String oldStructureId,
72 java.lang.String newStructureId, boolean autoStructureId)
73 throws com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException, java.rmi.RemoteException {
75 return _service.copyStructure(groupId, oldStructureId, newStructureId,
76 autoStructureId);
77 }
78
79 public static void deleteStructure(long groupId,
80 java.lang.String structureId)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException, java.rmi.RemoteException {
83 _service.deleteStructure(groupId, structureId);
84 }
85
86 public static com.liferay.portlet.journal.model.JournalStructure getStructure(
87 long groupId, java.lang.String structureId)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException, java.rmi.RemoteException {
90 return _service.getStructure(groupId, structureId);
91 }
92
93 public static com.liferay.portlet.journal.model.JournalStructure updateStructure(
94 long groupId, java.lang.String structureId, java.lang.String name,
95 java.lang.String description, java.lang.String xsd)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException, java.rmi.RemoteException {
98 return _service.updateStructure(groupId, structureId, name,
99 description, xsd);
100 }
101
102 public static JournalStructureService getService() {
103 return _service;
104 }
105
106 public void setService(JournalStructureService service) {
107 _service = service;
108 }
109
110 private static JournalStructureService _service;
111 }