|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portal.service.base.LayoutPrototypeLocalServiceBaseImpl com.liferay.portal.service.impl.LayoutPrototypeLocalServiceImpl
public class LayoutPrototypeLocalServiceImpl
Field Summary |
---|
Constructor Summary | |
---|---|
LayoutPrototypeLocalServiceImpl()
|
Method Summary | |
---|---|
LayoutPrototype |
addLayoutPrototype(long userId,
long companyId,
Map<Locale,String> nameMap,
String description,
boolean active)
Deprecated. As of 6.2.0, replaced by addLayoutPrototype(long,
long, Map, String, boolean, ServiceContext) |
LayoutPrototype |
addLayoutPrototype(long userId,
long companyId,
Map<Locale,String> nameMap,
String description,
boolean active,
ServiceContext serviceContext)
|
LayoutPrototype |
deleteLayoutPrototype(LayoutPrototype layoutPrototype)
Deletes the layout prototype from the database. |
LayoutPrototype |
deleteLayoutPrototype(long layoutPrototypeId)
Deletes the layout prototype with the primary key from the database. |
void |
deleteNondefaultLayoutPrototypes(long companyId)
|
LayoutPrototype |
getLayoutPrototypeByUuid(String uuid)
Deprecated. As of 6.2.0, replaced by getLayoutPrototypeByUuidAndCompanyId(String, long) |
LayoutPrototype |
getLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout prototype with the matching UUID and company. |
List<LayoutPrototype> |
search(long companyId,
Boolean active,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
Boolean active)
|
LayoutPrototype |
updateLayoutPrototype(long layoutPrototypeId,
Map<Locale,String> nameMap,
String description,
boolean active)
Deprecated. As of 6.2.0, replaced by updateLayoutPrototype(long,
Map, String, boolean, ServiceContext) |
LayoutPrototype |
updateLayoutPrototype(long layoutPrototypeId,
Map<Locale,String> nameMap,
String description,
boolean active,
ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutPrototypeLocalServiceImpl()
Method Detail |
---|
public LayoutPrototype addLayoutPrototype(long userId, long companyId, Map<Locale,String> nameMap, String description, boolean active) throws PortalException, SystemException
addLayoutPrototype(long,
long, Map, String, boolean, ServiceContext)
PortalException
SystemException
public LayoutPrototype addLayoutPrototype(long userId, long companyId, Map<Locale,String> nameMap, String description, boolean active, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
@SystemEvent(action=1, type=1) public LayoutPrototype deleteLayoutPrototype(LayoutPrototype layoutPrototype) throws PortalException, SystemException
LayoutPrototypeLocalServiceBaseImpl
deleteLayoutPrototype
in interface LayoutPrototypeLocalService
deleteLayoutPrototype
in class LayoutPrototypeLocalServiceBaseImpl
layoutPrototype
- the layout prototype
PortalException
SystemException
- if a system exception occurredpublic LayoutPrototype deleteLayoutPrototype(long layoutPrototypeId) throws PortalException, SystemException
LayoutPrototypeLocalServiceBaseImpl
deleteLayoutPrototype
in interface LayoutPrototypeLocalService
deleteLayoutPrototype
in class LayoutPrototypeLocalServiceBaseImpl
layoutPrototypeId
- the primary key of the layout prototype
PortalException
- if a layout prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteNondefaultLayoutPrototypes(long companyId) throws PortalException, SystemException
PortalException
SystemException
public LayoutPrototype getLayoutPrototypeByUuid(String uuid) throws PortalException, SystemException
getLayoutPrototypeByUuidAndCompanyId(String, long)
PortalException
SystemException
public LayoutPrototype getLayoutPrototypeByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
LayoutPrototypeLocalServiceBaseImpl
getLayoutPrototypeByUuidAndCompanyId
in interface LayoutPrototypeLocalService
getLayoutPrototypeByUuidAndCompanyId
in class LayoutPrototypeLocalServiceBaseImpl
uuid
- the layout prototype's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching layout prototype could not be found
SystemException
- if a system exception occurredpublic List<LayoutPrototype> search(long companyId, Boolean active, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public int searchCount(long companyId, Boolean active) throws SystemException
SystemException
public LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, String description, boolean active) throws PortalException, SystemException
updateLayoutPrototype(long,
Map, String, boolean, ServiceContext)
PortalException
SystemException
public LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, String description, boolean active, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |