public interface Resource
AccessControlContext.createResource(java.lang.String, java.lang.String)
or one of its variants in AccessControlContext
.
To create a Resource instance using a previously persisted resource id use the
factory method Resources.getInstance(long)
, or one of its siblings.Modifier and Type | Method and Description |
---|---|
String |
getExternalId()
Get the optional external id of this resource.
|
Long |
getId()
Get the id of this resource.
|
Long getId()
String getExternalId()
id
of this resource.
OACC is a Java Application Security Framework developed by Acciente, LLC..
Copyright 2015, Acciente, LLC.All rights reserved.