com.siebel.rf.offline.data.allrolesforactors
Class AllRolesForActorsFactory

java.lang.Object
  |
  +--com.siebel.rf.offline.branch.datastore.PersistedFactory
        |
        +--com.siebel.rf.offline.data.allrolesforactors.AllRolesForActorsFactory

public class AllRolesForActorsFactory
extends PersistedFactory

The AllRolesForActorsFactory class


Constructor Summary
AllRolesForActorsFactory()
           
 
Method Summary
static AllRolesForActors convertToAllRolesForActors(com.bankframe.po.shared.solutionset.parameterobjects.ActorRolePO actorRolePO)
          Converts the actorRolePO to allRolesForActors
static java.util.Collection findByActorIdAndAccessProviderId(java.lang.String actorId, java.lang.String accessProviderId)
          Returns collection of AllRolesForActors
static AllRolesForActors findByPrimaryKey(java.lang.String roleId, java.lang.String actorId, java.lang.String accessProviderId, java.lang.String actorRoleType, java.lang.String parentActorGroupId)
          Returns AllRolesForActors
static java.util.Collection findByRoleId(java.lang.String roleId)
          Returns collection of AllRolesForActors
static AllRolesForActors getAllRolesForActors(java.lang.String roleId, java.lang.String actorId, java.lang.String accessProviderId, java.lang.String actorRoleType, java.lang.String parentActorGroupId)
          Returns AllRolesForActors
static void removeAll()
          Deletes all records from allrolesforactors table
 
Methods inherited from class com.siebel.rf.offline.branch.datastore.PersistedFactory
remove, store
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllRolesForActorsFactory

public AllRolesForActorsFactory()
Method Detail

findByPrimaryKey

public static AllRolesForActors findByPrimaryKey(java.lang.String roleId,
                                                 java.lang.String actorId,
                                                 java.lang.String accessProviderId,
                                                 java.lang.String actorRoleType,
                                                 java.lang.String parentActorGroupId)
                                          throws FinderException
Returns AllRolesForActors
Parameters:
roleId - String
actorId - String
accessProviderId - String
actorRoleType - String
parentActorGroupId - String
Returns:
the AllRolesForActors based on primary key attributes
Throws:
FinderException - This exception is thrown if AllRolesForActor not found

getAllRolesForActors

public static AllRolesForActors getAllRolesForActors(java.lang.String roleId,
                                                     java.lang.String actorId,
                                                     java.lang.String accessProviderId,
                                                     java.lang.String actorRoleType,
                                                     java.lang.String parentActorGroupId)
                                              throws com.bankframe.ejb.ProcessingErrorException
Returns AllRolesForActors
Parameters:
roleId - String
actorId - String
accessProviderId - String
actorRoleType - String
parentActorGroupId - String
Returns:
the AllRolesForActors based on primary key attributes
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails

findByActorIdAndAccessProviderId

public static java.util.Collection findByActorIdAndAccessProviderId(java.lang.String actorId,
                                                                    java.lang.String accessProviderId)
Returns collection of AllRolesForActors
Parameters:
actorId - String
accessProviderId - String
Returns:
the collection of AllRolesForActors based on actorId & accessProviderId

findByRoleId

public static java.util.Collection findByRoleId(java.lang.String roleId)
Returns collection of AllRolesForActors
Parameters:
roleId - String
Returns:
the collection of AllRolesForActors based on roleId

removeAll

public static void removeAll()
Deletes all records from allrolesforactors table

convertToAllRolesForActors

public static AllRolesForActors convertToAllRolesForActors(com.bankframe.po.shared.solutionset.parameterobjects.ActorRolePO actorRolePO)
                                                    throws com.bankframe.ejb.ProcessingErrorException
Converts the actorRolePO to allRolesForActors
Parameters:
actorRolePO - ActorRolePO
Returns:
allRolesForActors after converting the actorRolePO to allRolesForActors
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails