org.kuali.kfs.pdp.service.impl
Class PdpAuthorizationServiceImpl

java.lang.Object
  extended by org.kuali.kfs.pdp.service.impl.PdpAuthorizationServiceImpl
All Implemented Interfaces:
PdpAuthorizationService

public class PdpAuthorizationServiceImpl
extends Object
implements PdpAuthorizationService


Constructor Summary
PdpAuthorizationServiceImpl()
           
 
Method Summary
 boolean hasCancelPaymentPermission(String principalId)
          This method checks if person has 'Cancel Payment' permission.
 boolean hasFormatPermission(String principalId)
          This method checks if the principal has 'Format' permission.
 boolean hasHoldPaymentPermission(String principalId)
          This method checks that the principal has the 'Hold Payment / Remove Non-Tax Payment Hold' permission.
 boolean hasRemoveFormatLockPermission(String principalId)
          This method checks that the principal has the 'Remove Format Lock' permission.
 boolean hasRemovePaymentTaxHoldPermission(String principalId)
          This method checks that the principal has 'Remove Payment Tax Hold' permission
 boolean hasSetAsImmediatePayPermission(String principalId)
          This method checks that the principal has 'Set as Immmediate Pay' permission.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdpAuthorizationServiceImpl

public PdpAuthorizationServiceImpl()
Method Detail

hasCancelPaymentPermission

public boolean hasCancelPaymentPermission(String principalId)
Description copied from interface: PdpAuthorizationService
This method checks if person has 'Cancel Payment' permission.

Specified by:
hasCancelPaymentPermission in interface PdpAuthorizationService
Parameters:
principalId - Principal ID
Returns:
true if it has permission, false otherwise
See Also:
org.kuali.kfs.pdp.service.PdpAuthorizationService#hasCancelPayment(java.lang.String)

hasFormatPermission

public boolean hasFormatPermission(String principalId)
Description copied from interface: PdpAuthorizationService
This method checks if the principal has 'Format' permission.

Specified by:
hasFormatPermission in interface PdpAuthorizationService
Parameters:
principalId - Principal ID
Returns:
true if it has permission, false otherwise
See Also:
org.kuali.kfs.pdp.service.PdpAuthorizationService#hasFormat(java.lang.String, java.lang.String)

hasHoldPaymentPermission

public boolean hasHoldPaymentPermission(String principalId)
Description copied from interface: PdpAuthorizationService
This method checks that the principal has the 'Hold Payment / Remove Non-Tax Payment Hold' permission.

Specified by:
hasHoldPaymentPermission in interface PdpAuthorizationService
Parameters:
principalId - Principal ID
Returns:
true if it has permission, false otherwise
See Also:
org.kuali.kfs.pdp.service.PdpAuthorizationService#hasHoldPayment(java.lang.String)

hasRemoveFormatLockPermission

public boolean hasRemoveFormatLockPermission(String principalId)
Description copied from interface: PdpAuthorizationService
This method checks that the principal has the 'Remove Format Lock' permission.

Specified by:
hasRemoveFormatLockPermission in interface PdpAuthorizationService
Parameters:
principalId - Principal ID
Returns:
true if it has permission, false otherwise
See Also:
org.kuali.kfs.pdp.service.PdpAuthorizationService#hasRemoveFormatLock(java.lang.String, java.lang.String)

hasRemovePaymentTaxHoldPermission

public boolean hasRemovePaymentTaxHoldPermission(String principalId)
Description copied from interface: PdpAuthorizationService
This method checks that the principal has 'Remove Payment Tax Hold' permission

Specified by:
hasRemovePaymentTaxHoldPermission in interface PdpAuthorizationService
Parameters:
principalId - Principal ID
Returns:
true if it has permission, false otherwise
See Also:
org.kuali.kfs.pdp.service.PdpAuthorizationService#hasRemovePaymentTaxHold(java.lang.String)

hasSetAsImmediatePayPermission

public boolean hasSetAsImmediatePayPermission(String principalId)
Description copied from interface: PdpAuthorizationService
This method checks that the principal has 'Set as Immmediate Pay' permission.

Specified by:
hasSetAsImmediatePayPermission in interface PdpAuthorizationService
Parameters:
principalId - Principal ID
Returns:
true if it has permission, false otherwise
See Also:
org.kuali.kfs.pdp.service.PdpAuthorizationService#hasSetAsImmediatePay(java.lang.String, java.lang.String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.