Package com.liferay.portal.vulcan.scope
Class Scope
java.lang.Object
com.liferay.portal.vulcan.scope.Scope
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Scope.Type -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getLabel()getType()inthashCode()static Scopestatic Scopestatic ScopeofReference(String scopeExternalReferenceCode, Scope.Type scopeType) voidsetExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) voidsetExternalReferenceCode(String externalReferenceCode) voidvoidvoidvoidvoidsetType(com.liferay.petra.function.UnsafeSupplier<Scope.Type, Exception> typeUnsafeSupplier) voidsetType(Scope.Type type) static ScopetoString()static ScopeunsafeToDTO(String json)
-
Field Details
-
xClassName
-
externalReferenceCode
-
key
-
label
-
type
-
-
Method Details
-
of
-
of
public static Scope of(long groupId, Locale locale) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
ofReference
-
toDTO
-
unsafeToDTO
-
equals
-
getExternalReferenceCode
-
getKey
-
getLabel
-
getType
-
getTypeAsString
-
hashCode
public int hashCode() -
setExternalReferenceCode
-
setExternalReferenceCode
-
setKey
-
setKey
-
setLabel
-
setLabel
-
setType
-
setType
public void setType(com.liferay.petra.function.UnsafeSupplier<Scope.Type, Exception> typeUnsafeSupplier) -
toString
-