当前页面:
在线文档首页 >
JBoss Seam 1.1.1 API 英文版文档
JPAIdentityGenerator (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档
org.jboss.seam.security.acl
Class JPAIdentityGenerator
java.lang.Object
org.jboss.seam.security.acl.JPAIdentityGenerator
- All Implemented Interfaces:
- IdentityGenerator
public class JPAIdentityGenerator
- extends Object
- implements IdentityGenerator
Generates ACL identities for JPA entity classes. The toString() method of
the value returned by the identifier method (or field) should return an
accurate representation of the identifier's value. In the case of composite
identifiers, a recommended approach is to return the constituent values in
delimited form.
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAIdentityGenerator
public JPAIdentityGenerator()
generateIdentity
public String generateIdentity(Object obj)
- Returns a String representation of an object's identity. If the
object has no identity, null is returned.
- Specified by:
generateIdentity
in interface IdentityGenerator
- Parameters:
obj
- Object The object to return an identity for.
- Returns:
- String The generated identity for the specified object, or null if
the object has no identity.