# Trait ServiceCommon

© 2019 Palo Alto Networks, Inc. All rights reserved.

Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf

  ServiceCommon uses ReferenceableObject

#### Direct Known Users

Service, ServiceGroup
Located at object-classes/trait/ServiceCommon.php

Methods summary
`public` | # `isService( )`
`public` | # `isGroup( )`
`public` | # `isTmpSrv( )`
`public` | # `removeReference( mixed $ref )`
`public` | # `addObjectWhereIamUsed( mixed $objectToAdd, mixed $displayOutput = FALSE, mixed $outputPadding = '', mixed $skipIfConflict = FALSE )` #### Parameters $objectToAdd `mixed` $objectToAdd Service|ServiceGroup $displayOutput `mixed` $displayOutput bool $outputPadding `mixed` $skipIfConflict bool $skipIfConflict `mixed` $outputPadding string|int
`public` | # `API_addObjectWhereIamUsed( mixed $objectToAdd, mixed $displayOutput = FALSE, mixed $outputPadding = '', mixed $skipIfConflict = FALSE )` #### Parameters $objectToAdd `mixed` $objectToAdd Service|ServiceGroup $displayOutput `mixed` $displayOutput bool $outputPadding `mixed` $skipIfConflict bool $skipIfConflict `mixed` $outputPadding string|int
`public` | # `removeWhereIamUsed( mixed $displayOutput = FALSE, mixed $outputPadding = '', mixed $actionIfLastInRule = 'delete' )` #### Parameters $displayOutput `mixed` $displayOutput bool $outputPadding `mixed` $actionIfLastInRule string can be delete|setany|disable $actionIfLastInRule `mixed` $outputPadding string|int
`public` | # `API_removeWhereIamUsed( boolean $displayOutput = FALSE, string $outputPadding = '', mixed $actionIfLastInRule = 'delete' )` #### Parameters $displayOutput `boolean` $displayOutput $outputPadding `string` $actionIfLastInRule can be delete|setany|disable $actionIfLastInRule `mixed` $outputPadding string|int
`public` | # `API_replaceWhereIamUsed( boolean $withObject, `Service`|`ServiceGroup` $displayOutput = FALSE, string|integer $outputPadding = '' )` #### Parameters $withObject `boolean` $displayOutput $displayOutput ``Service`|`ServiceGroup`` $withObject $outputPadding `string|integer` $outputPadding
`public` | # `replaceWhereIamUsed( boolean $withObject, `Service`|`ServiceGroup` $displayOutput = FALSE, string|integer $outputPadding = '' )` #### Parameters $withObject `boolean` $displayOutput $displayOutput ``Service`|`ServiceGroup`` $withObject $outputPadding `string|integer` $outputPadding
`public` | # `__replaceWhereIamUsed( boolean $apiMode, boolean $withObject, `Service`|`ServiceGroup` $displayOutput = FALSE, string|integer $outputPadding = '' )` #### Parameters $apiMode `boolean` $displayOutput $withObject `boolean` $apiMode $displayOutput ``Service`|`ServiceGroup`` $withObject $outputPadding `string|integer` $outputPadding

Methods used from ReferenceableObject
`(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), removeReference()(as super_removeReference())`

Properties used from ReferenceableObject
`$name, $refcomphash, $refrules`