|
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.LayoutSetPrototypeLocalServiceWrapper
@ProviderType public class LayoutSetPrototypeLocalServiceWrapper
Provides a wrapper for LayoutSetPrototypeLocalService
.
LayoutSetPrototypeLocalService
Constructor Summary | |
---|---|
LayoutSetPrototypeLocalServiceWrapper(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
|
Method Summary | |
---|---|
LayoutSetPrototype |
addLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
Adds the layout set prototype to the database. |
LayoutSetPrototype |
addLayoutSetPrototype(long userId,
long companyId,
Map<Locale,String> nameMap,
String description,
boolean active,
boolean layoutsUpdateable,
ServiceContext serviceContext)
|
LayoutSetPrototype |
createLayoutSetPrototype(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key. |
LayoutSetPrototype |
deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
Deletes the layout set prototype from the database. |
LayoutSetPrototype |
deleteLayoutSetPrototype(long layoutSetPrototypeId)
Deletes the layout set prototype with the primary key from the database. |
void |
deleteLayoutSetPrototypes()
|
void |
deleteNondefaultLayoutSetPrototypes(long companyId)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
LayoutSetPrototype |
fetchLayoutSetPrototype(long layoutSetPrototypeId)
|
LayoutSetPrototype |
fetchLayoutSetPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout set prototype with the matching UUID and company. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
LayoutSetPrototype |
getLayoutSetPrototype(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key. |
LayoutSetPrototype |
getLayoutSetPrototypeByUuid(String uuid)
Deprecated. As of 6.2.0, replaced by getLayoutSetPrototypeByUuidAndCompanyId(String, long) |
LayoutSetPrototype |
getLayoutSetPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout set prototype with the matching UUID and company. |
List<LayoutSetPrototype> |
getLayoutSetPrototypes(int start,
int end)
Returns a range of all the layout set prototypes. |
List<LayoutSetPrototype> |
getLayoutSetPrototypes(long companyId)
|
int |
getLayoutSetPrototypesCount()
Returns the number of layout set prototypes. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
LayoutSetPrototypeLocalService |
getWrappedLayoutSetPrototypeLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
LayoutSetPrototypeLocalService |
getWrappedService()
|
List<LayoutSetPrototype> |
search(long companyId,
Boolean active,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
Boolean active)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedLayoutSetPrototypeLocalService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portal.service.LayoutSetPrototypeLocalService) |
void |
setWrappedService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
|
LayoutSetPrototype |
updateLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
Updates the layout set prototype in the database or adds it if it does not yet exist. |
LayoutSetPrototype |
updateLayoutSetPrototype(long layoutSetPrototypeId,
Map<Locale,String> nameMap,
String description,
boolean active,
boolean layoutsUpdateable,
ServiceContext serviceContext)
|
LayoutSetPrototype |
updateLayoutSetPrototype(long layoutSetPrototypeId,
String settings)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutSetPrototypeLocalServiceWrapper(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
Method Detail |
---|
public LayoutSetPrototype addLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws SystemException
addLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
layoutSetPrototype
- the layout set prototype
SystemException
- if a system exception occurredpublic LayoutSetPrototype createLayoutSetPrototype(long layoutSetPrototypeId)
createLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
layoutSetPrototypeId
- the primary key for the new layout set prototype
public LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId) throws PortalException, SystemException
deleteLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
layoutSetPrototypeId
- the primary key of the layout set prototype
PortalException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws PortalException, SystemException
deleteLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
layoutSetPrototype
- the layout set prototype
PortalException
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface LayoutSetPrototypeLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface LayoutSetPrototypeLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface LayoutSetPrototypeLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface LayoutSetPrototypeLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface LayoutSetPrototypeLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface LayoutSetPrototypeLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic LayoutSetPrototype fetchLayoutSetPrototype(long layoutSetPrototypeId) throws SystemException
fetchLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
SystemException
public LayoutSetPrototype fetchLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId) throws SystemException
fetchLayoutSetPrototypeByUuidAndCompanyId
in interface LayoutSetPrototypeLocalService
uuid
- the layout set prototype's UUIDcompanyId
- the primary key of the company
null
if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic LayoutSetPrototype getLayoutSetPrototype(long layoutSetPrototypeId) throws PortalException, SystemException
getLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
layoutSetPrototypeId
- the primary key of the layout set prototype
PortalException
- if a layout set prototype with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface LayoutSetPrototypeLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
SystemException
public LayoutSetPrototype getLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
getLayoutSetPrototypeByUuidAndCompanyId
in interface LayoutSetPrototypeLocalService
uuid
- the layout set prototype's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching layout set prototype could not be found
SystemException
- if a system exception occurredpublic List<LayoutSetPrototype> getLayoutSetPrototypes(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getLayoutSetPrototypes
in interface LayoutSetPrototypeLocalService
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)
SystemException
- if a system exception occurredpublic int getLayoutSetPrototypesCount() throws SystemException
getLayoutSetPrototypesCount
in interface LayoutSetPrototypeLocalService
SystemException
- if a system exception occurredpublic LayoutSetPrototype updateLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws SystemException
updateLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
layoutSetPrototype
- the layout set prototype
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface LayoutSetPrototypeLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface LayoutSetPrototypeLocalService
beanIdentifier
- the Spring bean ID for this beanpublic LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale,String> nameMap, String description, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) throws PortalException, SystemException
addLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
PortalException
SystemException
public void deleteLayoutSetPrototypes() throws PortalException, SystemException
deleteLayoutSetPrototypes
in interface LayoutSetPrototypeLocalService
PortalException
SystemException
public void deleteNondefaultLayoutSetPrototypes(long companyId) throws PortalException, SystemException
deleteNondefaultLayoutSetPrototypes
in interface LayoutSetPrototypeLocalService
PortalException
SystemException
public LayoutSetPrototype getLayoutSetPrototypeByUuid(String uuid) throws PortalException, SystemException
getLayoutSetPrototypeByUuidAndCompanyId(String, long)
getLayoutSetPrototypeByUuid
in interface LayoutSetPrototypeLocalService
PortalException
SystemException
public List<LayoutSetPrototype> getLayoutSetPrototypes(long companyId) throws SystemException
getLayoutSetPrototypes
in interface LayoutSetPrototypeLocalService
SystemException
public List<LayoutSetPrototype> search(long companyId, Boolean active, int start, int end, OrderByComparator obc) throws SystemException
search
in interface LayoutSetPrototypeLocalService
SystemException
public int searchCount(long companyId, Boolean active) throws SystemException
searchCount
in interface LayoutSetPrototypeLocalService
SystemException
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale,String> nameMap, String description, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) throws PortalException, SystemException
updateLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
PortalException
SystemException
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) throws PortalException, SystemException
updateLayoutSetPrototype
in interface LayoutSetPrototypeLocalService
PortalException
SystemException
public LayoutSetPrototypeLocalService getWrappedLayoutSetPrototypeLocalService()
getWrappedService()
public void setWrappedLayoutSetPrototypeLocalService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
setWrappedService(com.liferay.portal.service.LayoutSetPrototypeLocalService)
public LayoutSetPrototypeLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<LayoutSetPrototypeLocalService>
public void setWrappedService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
setWrappedService
in interface ServiceWrapper<LayoutSetPrototypeLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |